package com.ruoyi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 实验模板主对象 ex_template_main
 * 
 * @author ruoyi
 * @date 2024-09-21
 */
public class ExTemplateMain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 模板名称 */
    @Excel(name = "模板名称")
    private String templateName;

    /** 模板描述 */
    @Excel(name = "模板描述")
    private String templateDescription;

    /** 创建人姓名 */
    @Excel(name = "创建人姓名")
    private String creatorName;

    /** 创建人id */
    @Excel(name = "创建人id")
    private String creatorId;

    /** 模板类型（系统模板，学生模板） */
    @Excel(name = "模板类型（系统模板，学生模板）")
    private String temType;

    /** 调用次数 */
    @Excel(name = "调用次数")
    private String callNum;

    List<ExTemplateSide> sideTables;

    public List<ExTemplateSide> getSideTables() {
        return sideTables;
    }

    public void setSideTables(List<ExTemplateSide> sideTables) {
        this.sideTables = sideTables;
    }

    public String getTemType() {
        return temType;
    }

    public void setTemType(String temType) {
        this.temType = temType;
    }

    public String getCallNum() {
        return callNum;
    }

    public void setCallNum(String callNum) {
        this.callNum = callNum;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTemplateName(String templateName) 
    {
        this.templateName = templateName;
    }

    public String getTemplateName() 
    {
        return templateName;
    }
    public void setTemplateDescription(String templateDescription) 
    {
        this.templateDescription = templateDescription;
    }

    public String getTemplateDescription() 
    {
        return templateDescription;
    }
    public void setCreatorName(String creatorName) 
    {
        this.creatorName = creatorName;
    }

    public String getCreatorName() 
    {
        return creatorName;
    }
    public void setCreatorId(String creatorId) 
    {
        this.creatorId = creatorId;
    }

    public String getCreatorId() 
    {
        return creatorId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("templateName", getTemplateName())
            .append("templateDescription", getTemplateDescription())
            .append("creatorName", getCreatorName())
            .append("creatorId", getCreatorId())
            .append("createTime", getCreateTime())
            .toString();
    }
}
